package com.mes.cloud.api.dto.request.role;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 查看员工角色列表请求实体
 * 
 * @author wxm
 * @version 2019-08-02 15:02:43
 * @email xiaomin.wu1@pactera.com
 */
@Data
public class EmployeePageListRequest implements Serializable{
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "当前页", required = true)
    @NotNull(message = "currentPage不能为空")
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    @NotNull(message = "pageSize不能为空")
    private int pageSize;

    @ApiModelProperty(value = "排序", required = false)
    private String orderBy;

    @ApiModelProperty(value = "用户姓名", required = false)
    private String queryString;

    @ApiModelProperty(value = "角色Id", required = true)
    @NotNull(message = "roleId不能为空")
    private String roleId;
}
